<template>
    <el-card shadow="never" class="d-card">
        <el-form :inline="true" class="demo-form-inline">
            <el-form-item label="供应商">
              <el-input placeholder="供应商编码"></el-input>
            </el-form-item>
            <el-form-item label="门店编码">
              <el-select placeholder="门店编码">
                  <el-option label="Zone one" value="shanghai"></el-option>
                  <el-option label="Zone two" value="beijing"></el-option>
              </el-select>
            </el-form-item>
            <el-form-item label="收货单">
              <el-input placeholder="收货单"></el-input>
            </el-form-item>
            <el-form-item label="凭证号">
              <el-input placeholder="凭证号"></el-input>
            </el-form-item>
            <el-form-item label="订单号">
              <el-input placeholder="订单号"></el-input>
            </el-form-item>
            <el-form-item label="结算单">
              <el-input placeholder="结算单"></el-input>
            </el-form-item>
            <el-form-item label="支付单">
              <el-input placeholder="支付单"></el-input>
            </el-form-item>
            <el-form-item label="收货日期">
              <el-input placeholder="收货日期"></el-input>
            </el-form-item>
            <el-form-item>
              <el-button type="primary">查询</el-button>
              <el-button >重置</el-button>
            </el-form-item>
        </el-form>
    </el-card>

    <el-card shadow="never" class="d-card" style="margin-top:10px;">
        <el-tabs v-model="activeName" class="demo-tabs">
            <div style="float: right;margin-bottom: 10px;">
                <el-button-group class="ml-4">
                    <el-button type="primary" :icon="Plus">新建</el-button>
                    <el-button type="success" :icon="Download"></el-button>
                    <el-button type="warning" :icon="Upload"></el-button>
                </el-button-group>
            </div>
            <el-tab-pane label="费单" name="first">
                <el-table border :data="tableData" stripe style="width: 100%">
                    <el-table-column prop="date" label="Date"  />
                    <el-table-column prop="name" label="Name"  />
                    <el-table-column prop="address" label="Address" />
                </el-table>
            </el-tab-pane>
            <el-tab-pane label="费单明细" name="second" />
        </el-tabs>        
    </el-card>
</template>

<script lang="ts" setup>
    import { ref } from "vue"
      import {
        Plus,
        Download,
        Upload,
        ArrowDown
    } from '@element-plus/icons-vue'
    const activeName = ref('first');
    const tableData = [
    {
        date: '2016-05-03',
        name: 'Tom',
        address: 'No. 189, Grove St, Los Angeles',
    },
    {
        date: '2016-05-02',
        name: 'Tom',
        address: 'No. 189, Grove St, Los Angeles',
    },
    {
        date: '2016-05-04',
        name: 'Tom',
        address: 'No. 189, Grove St, Los Angeles',
    },
    {
        date: '2016-05-01',
        name: 'Tom',
        address: 'No. 189, Grove St, Los Angeles',
    },
    ]
</script>

<style scoped>

</style>